package com.superme.freemarkerquickstart.service;



import com.superme.freemarkerquickstart.controller.Data.Person;
import com.superme.freemarkerquickstart.controller.Data.ResultData;

import java.sql.Timestamp;
import java.util.HashMap;

public interface PersonService {
    HashMap  getAllPersons(String searchText, int pageNum, int pageSize, String sortOrder, String sortName);
    ResultData deletePersonsById(Integer Id);
    ResultData  addPerson(Person person);

    Person findPersonById(Integer Id);

    ResultData updatePerson(Integer personid, Person person);
}
